
import request from '@/utils/request';

export async function query(): Promise<any> {
  return request('/api/users');
}

export async function queryCurrent(token:string): Promise<any>  {
  return request(`/v1/menu/token/${token}`,{
    method:'get'
  });
}
export async function queryNotices(): Promise<any> {
  return request('/api/notices');
}
